/******************************************************************************
 * * setting_dualsim.h - data structure for setting dualsim sub-module
 *
 * *(C) Copyright 2019 Asr International Ltd.
 * * All Rights Reserved
 * ******************************************************************************/
#ifndef SETTING_DUALSIM_H
#define SETTING_DUALSIM_H

#ifdef __cplusplus
extern "C" {
#endif

typedef enum
{
    SETTING_SERVICE_CALL = 0,
    SETTING_SERVICE_SMS
} SETTING_SERVICE_TYPE;

typedef enum
{
    SETTING_ASK_EVERY_TIME = 0,                                                 // ask before calling or sending message
    SETTING_DEFAULT_DULT_SIM,                                                   // both SIM1 and SIM2
    SETTING_DEFAULT_SIM1,                                                       // always use SIM1
    SETTING_DEFAULT_SIM2,                                                       // always use SIM2
} SETTING_DEFAULT_SERVICE_SIM;

typedef struct
{
    SETTING_DEFAULT_SERVICE_SIM DefaultSim4Call;                                // defualt SIM for call
    SETTING_DEFAULT_SERVICE_SIM DefaultSim4Msg;                                 // defualt SIM for message
    SETTING_DEFAULT_SERVICE_SIM DefaultSim4Standby;                             // defualt SIM for standby
    INT8                        SimName[2][NV_SETTING_MAX_SIM_NAME_LEN];        // SIM name for SIM1 and SIM2
// UINT8                       SimSelected;                                    // user selected SIM ID for current operation
} Setting_Dual_Setting_Mng_t;

extern Setting_Dual_Setting_Mng_t g_SettingDualSimMng;
extern VOID Display_Setting_Dual_Sim_Settings_UI_Parameter_Select(SETTING_DEFAULT_SERVICE_SIM SimStandbyMode);

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif /*SETTING_DUALSIM_H*/
